<template>
  <div>
    <button type="button" class="btn btn-light btn-sm" @click="goback">后退</button>
    <h4 class="text-center">用户详情{{ id }}</h4>
  </div>
</template>

<script>
export default {
  name: 'MyUserDetail',
  props:[
    'id'
  ],
  methods:{
    goback(){
      this.$router.back();
    }
  }
}
</script>

<style lang="less" scoped></style>
